{{extend './base.html'}}
{{block 'title'}}
详情页
{{/block}}
{{block 'style'}}
<style>
    body{
        background-color: #EEEEEE;
    }
    div.content-wrap{
        width: 100%;
        float: left;
        background-color:#FFFFFF;
    }

    div.article-header{
        padding: 2px 20px 12px;
        background-color: #ffffff;
        border-bottom: 1px solid #eeeeee;
    }
    div.article-title{
        text-align: center;
        margin-bottom: 10px;
    }
    .text-muted{
        margin-right:5px;
    }
    .article-content {
        text-indent: 2em;
        margin-top: 20px;
        min-height: 600px;
    }
    div.blog-more{
        margin-top: 10px;
    }
    div.blog-more .move{
        float: right;
    }
</style>
{{/block}}
{{block 'content'}}
<div class="container">
    <div class="row">
        <div class="col-xs-12 col-md-9">
            <div class="content-wrap">
                <div class="content">
                    <div class="article-header">
                        <h1 class="article-title">
                            {{ blog.title }}
                        </h1>
                        <div class="meta">
                            <span class="text-muted">标签:{{ blog.tag.blog_tag }}</span>
                            <span class="text-muted">作者:{{ blog.user }}</span>
                            <span class="text-muted">发表日期:{{ blog.created_time | dateFormat:'YYYY-MM-DD' }}</span>
                            <span class="text-muted">阅读数:{{ blog.read_num }}</span>
                        </div>
                        <div class="article-content">
                            {{ blog.content }}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{{/block}}
